<%-- 
    Document   : CarreraCrearEditar
    Created on : 19/01/2012, 01:07:14 PM
    Author     : ADM
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>JSP Page</title>
        </head>
        <body>
            <h:form>
                <h1><h:outputText value="Create/Edit"/></h1>
                <h:panelGrid columns="2">
                    <h:outputLabel value="Clave:" for="clave" />
                    <h:inputText id="clave" value="#{CarreraBean.carrera.clave}" title="Clave" required="true" requiredMessage="The Clave field is required."/>
                    <h:outputLabel value="Nombre:" for="nombre" />
                    <h:inputText id="nombre" value="#{CarreraBean.carrera.nombre}" title="Nombre" required="true" requiredMessage="The Nombre field is required."/>
                </h:panelGrid>
                <h:commandButton action="CarreraConfirmar" value = "Aceptar" />
                <h:commandButton action="CarreraList" value = "Cancelar" immediate="true" />

            </h:form>


        </body>
    </html>
</f:view>
